package com.example.demo.dao;

import com.example.demo.pojo.User;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AfterUserDao {
    int deleteByPrimaryKey(Integer userid);

    //新增用户
    int insert(User record);

    int updateByPrimaryKey(User record);



    Page<User> getAll();
}
